<%@ page trimDirectiveWhitespaces="true" %>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<title>蒙哥网站管理系统</title>

<link href="/dwz/themes/default/style.css" rel="stylesheet" type="text/css" media="screen"/>
<link href="/dwz/themes/css/core.css" rel="stylesheet" type="text/css" media="screen"/>
<link href="/dwz/themes/css/print.css" rel="stylesheet" type="text/css" media="print"/>
<link href="/dwz/uploadify/css/uploadify.css" rel="stylesheet" type="text/css" media="screen"/>
<link href="/css/admin.css" rel="stylesheet" type="text/css" media="screen"/>

<!--[if IE]>
<link href="/dwz/themes/css/ieHack.css" rel="stylesheet" type="text/css" media="screen"/>
<![endif]-->
<script type="text/javascript" src="/admin/ckeditor/ckeditor.js"></script>

<script src="/dwz/js/speedup.js" type="text/javascript"></script>
<script src="/dwz/js/jquery-1.7.1.js" type="text/javascript"></script>
<script src="/dwz/js/jquery.cookie.js" type="text/javascript"></script>
<script src="/dwz/js/jquery.validate.js" type="text/javascript"></script>
<script src="/dwz/js/jquery.bgiframe.js" type="text/javascript"></script>
<script src="/dwz/xheditor/xheditor-1.1.12-zh-cn.min.js" type="text/javascript"></script>
<script src="/dwz/uploadify/scripts/swfobject.js" type="text/javascript"></script>
<script src="/dwz/uploadify/scripts/jquery.uploadify.v2.1.0.js" type="text/javascript"></script>

<script src="/dwz/js/dwz.core.js" type="text/javascript"></script>
<script src="/dwz/js/dwz.util.date.js" type="text/javascript"></script>
<script src="/dwz/js/dwz.validate.method.js" type="text/javascript"></script>
<script src="/dwz/js/dwz.regional.zh.js" type="text/javascript"></script>
<script src="/dwz/js/dwz.barDrag.js" type="text/javascript"></script>
<script src="/dwz/js/dwz.drag.js" type="text/javascript"></script>
<script src="/dwz/js/dwz.tree.js" type="text/javascript"></script>
<script src="/dwz/js/dwz.accordion.js" type="text/javascript"></script>
<script src="/dwz/js/dwz.ui.js" type="text/javascript"></script>
<script src="/dwz/js/dwz.theme.js" type="text/javascript"></script>
<script src="/dwz/js/dwz.switchEnv.js" type="text/javascript"></script>
<script src="/dwz/js/dwz.alertMsg.js" type="text/javascript"></script>
<script src="/dwz/js/dwz.contextmenu.js" type="text/javascript"></script>
<script src="/dwz/js/dwz.navTab.js" type="text/javascript"></script>
<script src="/dwz/js/dwz.tab.js" type="text/javascript"></script>
<script src="/dwz/js/dwz.resize.js" type="text/javascript"></script>
<script src="/dwz/js/dwz.dialog.js" type="text/javascript"></script>
<script src="/dwz/js/dwz.dialogDrag.js" type="text/javascript"></script>
<script src="/dwz/js/dwz.sortDrag.js" type="text/javascript"></script>
<script src="/dwz/js/dwz.cssTable.js" type="text/javascript"></script>
<script src="/dwz/js/dwz.stable.js" type="text/javascript"></script>
<script src="/dwz/js/dwz.taskBar.js" type="text/javascript"></script>
<script src="/dwz/js/dwz.ajax.js" type="text/javascript"></script>
<script src="/dwz/js/dwz.pagination.js" type="text/javascript"></script>
<script src="/dwz/js/dwz.database.js" type="text/javascript"></script>
<script src="/dwz/js/dwz.datepicker.js" type="text/javascript"></script>
<script src="/dwz/js/dwz.effects.js" type="text/javascript"></script>
<script src="/dwz/js/dwz.panel.js" type="text/javascript"></script>
<script src="/dwz/js/dwz.checkbox.js" type="text/javascript"></script>
<script src="/dwz/js/dwz.history.js" type="text/javascript"></script>
<script src="/dwz/js/dwz.combox.js" type="text/javascript"></script>
<script src="/dwz/js/dwz.print.js" type="text/javascript"></script>
<!--
<script src="/dwz/bin/dwz.min.js" type="text/javascript"></script>
-->
<script src="/dwz/js/dwz.regional.zh.js" type="text/javascript"></script>
<script src="/js/dwzextend.js" type="text/javascript"></script>
<script type="text/javascript">
$(function(){
	DWZ.init("/dwz/dwz.frag.xml", {
		loginUrl:"login_dialog.html", loginTitle:"登录",	// 弹出登录对话框
//		loginUrl:"login.html",	// 跳到登录页面
		statusCode:{ok:200, error:300, timeout:301}, //【可选】
		pageInfo:{pageNum:"pageNum", numPerPage:"numPerPage", orderField:"orderField", orderDirection:"orderDirection"}, //【可选】
		debug:false,	// 调试模式 【true|false】
		callback:function(){
			initEnv();
			$("#themeList").theme({themeBase:"/dwz/themes"}); // themeBase 相对于index页面的主题base路径
		}
	});
});

function logout(){
    alertMsg.confirm("您确定要退出系统吗?", {
        okCall: function(){
            window.location.href = "/logout.htm";
        }
    });
}
</script>
</head>

<body scroll="no">    
    <div id="layout">
        <div id="header">
            <div class="headerNav">
                <a class="logo" href="http://j-ui.com">标志</a>
                <ul class="nav">
                    <li><a href="/index.htm" target="_blank">我的主页</a></li>
                    <li id="switchEnvBox"><a href="javascript:">角色列表</a>
                        <ul>
                            <s:iterator id="role" value="roleList">
                                <li><a href="/admin/index.jsp"><s:property value="roleName"/></a></li>
                            </s:iterator>
                        </ul>
                    </li>
                    <li><a href="/changepwd.htm" target="dialog" width="520">设置</a></li>
                    <li><a href="http://bbs.dwzjs.com" target="_blank">欢迎你,${user.nickName}</a></li>
                    <li><a href="javascript:logout();">退出</a></li>
                </ul>
                <ul class="themeList" id="themeList">
                    <li theme="default"><div class="selected">蓝色</div></li>
                    <li theme="green"><div>绿色</div></li>
                    <!--<li theme="red"><div>红色</div></li>-->
                    <li theme="purple"><div>紫色</div></li>
                    <li theme="silver"><div>银色</div></li>
                    <li theme="azure"><div>天蓝</div></li>
                </ul>
            </div>
            <!-- navMenu -->
        </div>
        <div id="leftside">
            <div id="sidebar_s">
                <div class="collapse">
                    <div class="toggleCollapse"><div></div></div>
                </div>
            </div>
            <div id="sidebar">
                    <div class="toggleCollapse"><h2>主菜单</h2><div>收缩</div></div>
                    <div class="accordion" fillSpace="sidebar">
                        <s:property value="treeStr" escape="false"/>
                    </div>
            </div>
        </div>
        <div id="container">
            <div id="navTab" class="tabsPage">
                <div class="tabsPageHeader">
                    <div class="tabsPageHeaderContent"><!-- 显示左右控制时添加 class="tabsPageHeaderMargin" -->
                        <ul class="navTab-tab">
                            <li tabid="main" class="main"><a href="javascript:;"><span><span class="home_icon">我的主页</span></span></a></li>
                        </ul>
                    </div>
                    <div class="tabsLeft">left</div><!-- 禁用只需要添加一个样式 class="tabsLeft tabsLeftDisabled" -->
                    <div class="tabsRight">right</div><!-- 禁用只需要添加一个样式 class="tabsRight tabsRightDisabled" -->
                    <div class="tabsMore">more</div>
                </div>
                <ul class="tabsMoreList">
                        <li><a href="javascript:;">我的主页</a></li>
                </ul>
                <div class="navTab-panel tabsPageContent layoutBox">
                    <div class="page unitBox">
                        <div class="accountInfo">
                            <div class="alertInfo">
                                    <h2><a href="doc/dwz-user-guide.pdf" target="_blank">DWZ框架使用手册(PDF)</a></h2>
                                    <a href="doc/dwz-user-guide.swf" target="_blank">DWZ框架演示视频</a>
                            </div>
                            <div class="right">
                                    <p><a href="doc/dwz-user-guide.zip" target="_blank" style="line-height:19px">DWZ框架使用手册(CHM)</a></p>
                                    <p><a href="doc/dwz-ajax-develop.swf" target="_blank" style="line-height:19px">DWZ框架Ajax开发视频教材</a></p>
                            </div>
                            <p><span>DWZ富客户端框架</span></p>
                            <p>DWZ官方微博:<a href="http://weibo.com/dwzui" target="_blank">http://weibo.com/dwzui</a></p>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div id="footer">Copyright &copy; 2010 <a href="demo_page2.html" target="dialog">DWZ团队</a> Tel：010-52897073</div>
</body>
</html>